Skin scratch
Skin SDK: The < Scratch > element
The Scratch element defines a zone where the user can Scratch using the mouse.
Syntax : < Scratch visibility="" os="" panel="" deck="">.
Inherited Attributes :
visibility="" os="" panel="" deck=""
See Global Element Attributes
Children :
- <pos x="" y=""> : Give the position of the Scratch zone on the screen. Read further details in Skin Element Position
- <size width="" height=""> : Give the width and height of the Scratch zone.
- <mousemask x="" y=""> : Give the coordinate of the B&W graphic that should be used as a mask to decide if the mouse is over the Scratch zone
- <mouserect x="" y="" width="" height=""> : Set a simple rect zone as a mouse mask
- <mousecircle x="" y="" r=""> : Set a simple circle zone as a mouse mask
- <center x="" y=""> : Give the center of the circular mouse movement
Example:
< Scratch deck="left">
<pos x="573" y="166"/>
<size width="227" height="227"/>
<mousecircle x="687" y="280" r="114"/>
</scratch>